Generic Components for Grid Data Structures and Algorithms with C++
نویسنده
چکیده
Grids are fundamental data structures for representing geometric structures or their subdivisions. We propose a strategy for decoupling algorithms working on grids from the details of grid representations, using a generic programming approach in C++. Functionality of grid data structures is captured by a small set of primitives, divided into combinatorial and geometric ones. Special attention is paid to the generic implementation of grid functions, which correspond to the notion of mappings from grid elements (e. g. vertices) to entities of a given type. Experiments indicate that the overhead of the generic formulation is low and can be completely eliminated in some cases.
منابع مشابه
A Framework for Fault-Tolerant Distributed Mutual Exclusion and Replica Control Using Grid Structures
This paper presents a framework for fault-tolerant distributed mutual exclusion and replica control algorithms utilizing overlapping grid quorums, which are sets constructed with the aid of grid structures. There are two components of the framework: the first one concerns generic representation of grid quorums, and the second one, generic verification of the overlapping properties of grid quoru...
متن کاملGeneric Software Components for Scientific Computing
ion The next step consists in uncovering commonalities and variabilities [Cop98] in requirements and functionality of algorithms and data structures, respectively. • Find requirements that algorithms have in common, find functionality that satisfies a large class of algorithms • Match these requirements with the abilities of data structures; classify data structures with respect to classes of a...
متن کاملGeneric Components for Petascale Adaptive Unstructured Mesh Simulations
In the traditional programming paradigm, data structures and algorithms are developed for specific data types and requirements. This leads to code redundancy and inflexibility thus not allowing effective code reuse for similar applications. One effective approach to increase code reuse is generic programming, which focuses on the development of efficient, reusable software libraries through sui...
متن کاملA Generic Toolbox for the Grid Craftsman
Universally reusable tools for grid management tasks are scarce. We identify coupling of algorithms to data structures as main obstacle for reuse, and show how to overcome the difficulties by using generic programming. After introducing an abstract kernel of grid functionality, we present some universal generic grid tools based on that kernel which are usable for arbitrary grid data structures....
متن کاملTwo New and Novel Cascaded Multilevel Inverters with Less Number of Components Utilizing Series Submultilevel Inverters
In this paper, two new cascaded inverters are proposed, by using the series connection of new Submultilevel inverters. Each of the proposed Submultilevel inverters consists of three batteries and eight power switches. Four algorithms are presented to determine the voltages of these batteries for each of the proposed structures. In this study the comparison between the proposed structures with c...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2000